<script type="text/javascript" src="<?=base_url()?>javascript/jquery/jquery.formParse.js"></script>
<div class="columns__left">
	<div class="n-user-nav loginWidget">
		<div data-editable="1" class="profile-photos">
			<ul class="profile-photos-list">
				<li class="profile-photos-item   profile-photos-item-id-4225165 profile-photos-item-num-1">
					
					<a class="lightbox" href="<?=isset($user->avatar)?image_url($user->avatar):''?>">
						<img id ="users_avartar"src="<?=isset($user->avatar_thumb)?image_url($user->avatar_thumb):''?>" alt="">
						<input type="hidden" name="avarta_id" value=""/>
					</a>
					<span class="n-user-photos-controls">
						<span class="n-user-del"></span>
					</span>
				</li>
			</ul>
			<span class="n-user-much-photo">
				<b id="profile-photos-counter">1</b>
			</span>
			<div class="n-user-sett-buttons">
				<div class="n-button n-button-adding profile-photo-upload" id="profile-photo-upload">
					<span class="profile-photo-upload-core"><?=lang('users_add_image')?></span>
				</div>
			</div>
			<script>
			$('#profile-photo-upload').uploadInit({
				url: '<?= url_create('site', 'account', 'upload') ?>',
				multi_selection: false,
				imageContainer: $('#users_avartar'),
				imageVar: 'avarta_id'
			})
			</script>
		</div>
		<div class="loginWidget--incognito hidden">
			<div class="loginWidget--incognito-core invite--widgetholder">
				<div class="loginWidget--incognito-content cleared">
					<label class="loginWidget--incognito-label">
						<input type="checkbox" class="loginWidget--incognito-field" name="incognito">
						<span class="loginWidget--incognito-text">
							<strong class="loginWidget--incognito-field-name">"Giấu mặt"</strong>
							<span class="loginWidget--incognito-field-note">Ảnh được ẩn trước những người dùng khác</span>
						</span>
					</label>
				</div>
			</div>
		</div>
		<div class="n-user-balance-s">
			<a class="n-user-balance-s" href="#" data-target=".payment-modal" data-widget="modal">
				<div class="n-user-balance-bg"></div>
			</a>
		</div>
		<div class="n-user-nav-list">
			<ul id="yw1">
				<li class="current"><a href="<?=url_create('site','account','info')?>" class="n-user-nav-list-profile"><?=lang('users_profile')?></a></li>
				<li><a href="<?=url_create('site','account','location')?>"><?=lang('users_location')?></a></li>
				<li><a href="<?=url_create('site','account','setting')?>"><?=lang('users_settings')?></a></li>
			</ul></div>

		<a id="exit-link1" class="n-user-exit" href="<?=url_create('site','account','logout')?>"><?=lang('Exit')?></a>
	</div>

	<div data-current="0" class="vip-bg">
		<div class="vip-bg__list">
			<span data-bg="0" class="vip-bg__item vip-bg-image0 vip-bg__item_selected"></span>
			<span data-bg="1" class="vip-bg__item vip-bg-image1"></span>
			<span data-bg="2" class="vip-bg__item vip-bg-image2"></span>
			<span data-bg="3" class="vip-bg__item vip-bg-image3"></span>
			<span data-bg="4" class="vip-bg__item vip-bg-image4"></span>
			<span data-bg="5" class="vip-bg__item vip-bg-image5"></span>
			<span data-bg="6" class="vip-bg__item vip-bg-image6"></span>
			<span data-bg="7" class="vip-bg__item vip-bg-image7"></span>
			<span data-bg="8" class="vip-bg__item vip-bg-image8"></span>
		</div>
		<div class="vip-bg__action">
			<button class="in-submit" style="display: none;">Tạo nền</button>
		</div>
	</div>
</div>